body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #B20002;
  padding: 10px 20px;
  color: white;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #f3f3f3;
  font-weight: bold;
}

.navbar a:hover {
  color: white;
}

/* HERO */
.hero {
  background: url("school.jpg") center/cover no-repeat;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  background-color: rgba(0,0,0,0.5);
}

/* SECCIONES */
.section {
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
}

.avisos li {
  background: #eef3ff;
  padding: 10px;
  margin: 10px;
  border-left: 5px solid #0037ff;
}

.galeria {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.galeria img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  background: #B20002;
  color: white;
  text-align: center;
  padding: 15px;
}
#fonfo-img {
    background-image: url('imgs/sample_0\ -\ copia.jpg'); /* Reemplaza 'tu-imagen.jpg' */
    background-size: cover; /* Cubre todo el contenedor, adaptándose */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que se repita */
    /* Opcional: Para que no se mueva al hacer scroll */
    /* background-attachment: fixed; */
    margin: 0; /* Para eliminar márgenes por defecto */
    /* altura necesaria si no hay contenido */
    /* min-height: 100vh; */
}

